package Testhandle_db;

import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;

import handle_db.Blog_DB_Connector;
import handle_db.News_DB_Connector;

import java.util.ArrayList;


import org.junit.Test;

import entities.Blog;
import entities.News;
import entities.State;


public class Blog_DB_ConnectorTest {
	@Test
	public void testAdd(){
		Blog_DB_Connector blog=new Blog_DB_Connector();
		News n=new News();
		n.setNews_type(1);
		n.setOwner(1);
		n.setTitle("test");
		Blog b=new Blog(n);
		b.setBlog_context("test");
		blog.add_Blog(b);
		
		
	}
}
